# -*- mode: python ; coding: utf-8 -*-
block_cipher = None
a = Analysis(
    ['main.py'],
    pathex=[],
    binaries=[],
    datas=[('./qss', './qss'),('./images/star.png', './images'),('./data.sqlite', '.'),('./ejff.xlsx', '.'),('./setting.json', '.')],
    hiddenimports=[],
    hookspath=[],
    runtime_hooks=[],
    excludes=["PyQt5.uic","PyQt5.QtSerialPort","PyQt5.QtSensors","PyQt5.QtBluetooth","PyQt5.QtDBus","PyQt5.QtDesigner","PyQt5.QtHelp","PyQt5.QtLocation","PyQt5.QtMultimediaWidgets","PyQt5.QtOpenGL","PyQt5.QtPositioning","PyQt5.QtPrintSupport","PyQt5.QtQuick","PyQt5.QtQuick3D","PyQt5.QtQuickWidgets","PyQt5.QtRemoteObjects","PyQt5.QtSvg","PyQt5.QtTest","PyQt5.QtTextToSpeech","PyQt5.QtWebChannel","PyQt5.QtWebSockets","PyQt5.QtWinExtras","PyQt5.QtXml","PyQt5.QtXmlPatterns","PyQt5.QtNetwork","PyQt5.QtQml","PyQt5.QtMultimedia","PyQt5.QtNfc","Pythonwin",'PyQt6','PySide6','sphinx','matplotlib',"scipy","pandas","ipython"],
    win_no_prefer_redirects=False,
    win_private_assemblies=False,
    cipher=block_cipher
)
b = Analysis(
    ['q1.py'],
    pathex=[],
    binaries=[],
    datas=[],
    hiddenimports=[],
    hookspath=[],
    runtime_hooks=[],
    excludes=["Pythonwin",'PyQt6','PySide6','sphinx','matplotlib',"scipy","pandas","ipython"],
    win_no_prefer_redirects=False,
    win_private_assemblies=False,
    cipher=block_cipher
)
pyz_b = PYZ(b.pure, b.zipped_data, cipher=block_cipher)
pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)
exe = EXE(
    pyz,
    a.scripts,
    [],
    exclude_binaries=True,
    name='report_spec',
    debug=False,
    bootloader_ignore_signals=False,
    strip=False,
    upx=True,
    console=True,
    disable_windowed_traceback=False,
    argv_emulation=False,
    target_arch=None,
    codesign_identity=None,
    entitlements_file=None,
)
exe_b = EXE(
    pyz_b,
    b.scripts,
    [],
    exclude_binaries=True,
    name='q1',
    debug=False,
    bootloader_ignore_signals=False,
    strip=False,
    upx=True,
    console=True,
    disable_windowed_traceback=False,
    argv_emulation=False,
    target_arch=None,
    codesign_identity=None,
    entitlements_file=None,
)

coll = COLLECT(
    exe,
    exe_b,
    a.binaries,
    a.zipfiles,
    a.datas,
    strip=False,
    upx=True,
    upx_exclude=[],
    name='report_spec',
)